ImagePicker
constructor(sourceType: <Error class: unknown class> = UIImagePickerControllerSourceType.UIImagePickerControllerSourceTypePhotoLibrary, mediaType: Set<NavigationSpec.ImagePicker.MediaType> = setOf(MediaType.IMAGE), navigationDelegate: <Error class: unknown class>, imagePickerDelegate: <Error class: unknown class>, animated: Boolean = false, completion: () -> Unit? = null)
Parameters
sourceType
the UIImagePickerControllerSourceType to pick
mediaType
Set of allowed MediaTypes to pick
navigationDelegate
The UINavigationControllerDelegateProtocol added to the UIImagePickerController
imagePickerDelegate
The UIImagePickerControllerDelegateProtocol added to the UIImagePickerController
animated
Specifies whether transition should be animated
completion
Optional function called when presentation is completed